#ifndef SPLITTOOLCPPJIEBA_H
#define SPLITTOOLCPPJIEBA_H

#include <vector>
#include <string>
#include "./cppjieba/Jieba.hpp"
#include "SplitTool.h"

const char *const DICT_PATH = "../dict/jieba.dict.utf8";
const char *const HMM_PATH = "../dict/hmm_model.utf8";
const char *const USER_DICT_PATH = "../dict/user.dict.utf8";
const char *const IDF_PATH = "../dict/idf.utf8";
const char *const STOP_WORD_PATH = "../dict/stop_words.utf8";

class SplitToolCppJieba : public SplitTool
{
public:
    SplitToolCppJieba();
    std::vector<std::string> cut(std::string& sentence);// 继承抽象类SplitTool结巴工具，实现功能

private:
    cppjieba::Jieba _jieba;
};

#endif
